package com.ceres.entity;

/**
 * 返回码
 */
public class StatusCode {

    public static final int OK=2000;//成功
    public static final int ERROR =2001;//失败
    public static final int LOGINERROR =2002;//用户名或密码错误
    public static final int ACCESSERROR =3001;//权限不足
    public static final int REMOTEERROR =2004;//远程调用失败
    public static final int REPERROR =2005;//重复操作

    public StatusCode() {
    }

    public static int getOK() {
        return OK;
    }

    public static int getERROR() {
        return ERROR;
    }

    public static int getLOGINERROR() {
        return LOGINERROR;
    }

    public static int getACCESSERROR() {
        return ACCESSERROR;
    }

    public static int getREMOTEERROR() {
        return REMOTEERROR;
    }

    public static int getREPERROR() {
        return REPERROR;
    }
}
